package Homework.Top05;

public class Test {
    public static void main(String[] args) {
        Air air=new Aircraft("波音747",28,10000);
        Air air1=new Fighter("歼-20",25,3000);
        Pilot pilot=new Pilot();
        System.out.println("开始测试");
        air.take_off();
        air.accelerate();
        air.land();

        air1.take_off();
        air1.accelerate();
        air1.land();
    }
}
